package com.nd.pojo.vo.wx;

import com.nd.Utils.WhatOption;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Description: wx
 * @author: Aaron
 * @create: 2021-06-07 17:04
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WxOrderListVO {

    private List<Orders> data;
    private Integer count;
    private long totalPages;


    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Orders {
        private String orderStatusText;
        private boolean isGroupin;
        private String orderSn;
        private BigDecimal actualPrice;
        private List<Goods> goodsList;
        private Integer id;
        private WhatOption handleOption;
    }


    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Goods {
        private Integer number;
        private String picUrl;
        private Integer id;
        private String goodsName;
    }
}
